package com.evaluity.bbdd;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class bbdd extends SQLiteOpenHelper {

	private static String name = "bdevaluity";
	private static int version = 1;
	private static CursorFactory cursorFactory = null;


	private String SQLCreateLogin = "CREATE TABLE login("
            + " id INTEGER PRIMARY KEY,"
            + " name TEXT,"
            //+ " surname TEXT,"
            + " email TEXT UNIQUE,"
            + " uid TEXT,"
            + " created_at TEXT" + ")";
	
	
	public bbdd(Context context){
	 super(context,name,cursorFactory, version);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		// TODO Auto-generated method stub
		db.execSQL(SQLCreateLogin); 

	}

	@Override
	public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2) {
		// TODO Auto-generated method stub
		
	}
	
}
